{% extends "tj3/tj3.html" %}


{% block content  %} 


<div class="ui-widget ui-widget-content">

	<h1 class="ui-widget ui-widget-header">{{project.name}}/{{task.name}} by {{resource.first_name|capfirst}} {{resource.last_name|capfirst}}<span class="float_right">Editing Journal</h1>
	
	<div class="mycontent">
	<h2 class="ui-state-highlight ui-corner-all">Journal</h2>
	<form action="." method="post" enctype="multipart/form-data">
		<!--- iterate exist bookings --->
		<table>
			<tbody>
				{{ journal_formset.management_form }}
				{{ journal_formset }}
			</tbody>
		</table>
		
		<div class="float_right">
			<input type="submit" name="command" value="Update" class="button" />
			<input type="submit" name="command" value="Delete" class="button" />
		</div>
	</form>
	</div>
	
</div>
 {% endblock content %}
